package top.weiliang.springboot3.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Component
@Data
//这个注解表示将配置文件中的哦欸之，映射到这个类中
@ConfigurationProperties(prefix = "custom-info")
public class CustomConfigInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private String mvcMapping;
    private String mvcOrigin;
    private String mvcMethods;
    private List<String> types;
}
